package com.xxxx.server.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 辅导员离校报备
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_ileave")
@ApiModel(value="Ileave对象", description="辅导员离校报备")
public class Ileave implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name="序号")
    private Long id;



    @ApiModelProperty(value = "姓名")
    @TableField(exist = false)
    @Excel(name = "姓名")
    private String name;

    @ApiModelProperty(value = "学院名称")
    @TableField(exist = false)
    @Excel(name = "学院名称")
    private String coname;

    @ApiModelProperty(value = "外键")
    private Integer ILid;

    @ApiModelProperty(value = "目的地")
    @Excel(name="目的地")
    private String direction;



    @ApiModelProperty(value = "事由")
    @Excel(name="事由")
    private String reason;


    @ApiModelProperty(value = "离筑时间")
    @Excel(name="离筑时间")
    private LocalDateTime leaveTime;


    @ApiModelProperty(value = "返筑时间")
    @Excel(name="返筑时间")
    private LocalDateTime returnTime;


    @ApiModelProperty(value = "交通方式")
    @Excel(name="交通方式")
    private Integer goWay;

    @Excel(name="联系电话")
    private String tele;

    @ApiModelProperty(value = "创建时间")
    @Excel(name="创建时间",format="yyyy-MM-dd",width=20)
    private LocalDateTime creatTime;


    @ApiModelProperty(value = "修改时间")
    @Excel(name="修改时间",format="yyyy-MM-dd",width=20)
    private LocalDateTime updateTime;



}
